package com.anlogic.sdk.linker.ui;

import java.util.List;

import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;

public class MemRangeSectionContentProvider implements IStructuredContentProvider {
	public void dispose() {
	}

	public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
	}

	public Object[] getElements(Object input) {
		if (!(input instanceof List))
			return null;
		return ((List<?>) input).toArray();
	}
}
